<div class="widgets">
<ba-card title="">
    <div class="form col-sm-11">
        <div class="form-group row">
            <div class="col-sm-6">
                <div class="input-group">
                    <span class="input-group-addon" id="sizing-addon2"><i class="fa fa-search"></i>乘客ID</span>
                    <input type="text" class="form-control" placeholder="乘客ID" aria-describedby="sizing-addon2" [(ngModel)]="passenger_id">
                </div>
            </div>
             <div class="col-sm-6">
                <div class="input-group">
                   <span class="input-group-addon" id="sizing-addon2"><i class="fa fa-search"></i>乘客名称</span>
                    <input type="text" class="form-control" placeholder="乘客名称" aria-describedby="sizing-addon2" [(ngModel)]="passenger_name">
                </div>
            </div>
        </div>
    </div>
    


    <span>
        <button class="btn btn-primary" (click)="onSearch()">查询</button>
        <!--<button class="btn btn-primary" (click)="onNew()">新增</button>-->
    </span>
</ba-card>

<!--<ba-card title="订单列表">
    <my-orders [orders]="selectedOrders"></my-orders>
</ba-card>-->
<ba-card title="">
    <order-show [orders]="selectedOrders" ></order-show>
</ba-card>

<ba-card title="乘客列表">
    <table class="table table-bordered table-hover">
        <thead>
            <th>乘客ID</th>
            <th>乘客姓名</th>
 
        </thead>
        <tbody>
            <!--<tr *ngFor="let passenger of passengers" [class.selected]="passenger === selectedPassenger" (click)="onSelect(passenger)">-->
             <tr *ngFor="let passenger of passengers" [class.selected]="passenger === selectedPassenger" (click)="onSelect(passenger)">
                <td>{{passenger.passenger_id}}</td>
                <td>{{passenger.passenger_name}} </td>
            </tr>
        </tbody>
    </table>
</ba-card>
</div>